package com.ziyucoding.springboot.labs.lab3.sca.rocketmqdemo.dtp;

import com.ziyucoding.springboot.labs.lab3.sca.rocketmqdemo.dtp.listener.OrderSink;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.stream.annotation.EnableBinding;

/**
 * 应用入口
 *
 * @author ziyucoding
 * @date 2023-04-03
 **/
@SpringBootApplication
@MapperScan(basePackages = "com.ziyucoding.springboot.labs.lab3.sca.rocketmqdemo.dtp.mapper")
@EnableBinding(OrderSink.class)
public class PointsApplication {

    public static void main(String[] args) {
        SpringApplication.run(PointsApplication.class, args);
    }

}
